package com.example.demo04.mapper;

import com.example.demo04.domain.ManagerHurdles;

import java.util.List;

public interface ManagerHurdlesMapper {
    // 1. 新增栏圈
    void insertHurdles(ManagerHurdles hurdles);

    // 2. 根据id删除栏圈
    void deleteHurdlesById(String hId);

    // 3. 修改栏圈（不修改h_time）
    void updateHurdles(ManagerHurdles hurdles);

    // 4. 根据id查询栏圈
    ManagerHurdles selectHurdlesById(String hId);

    // 5. 查询所有栏圈
    List<ManagerHurdles> selectAllHurdles();
}
